import { Component, Vue } from 'vue-facing-decorator'
import { RouterLink, RouterView } from "vue-router";

@Component()
export default class App extends Vue {
    render() {
        return (
            <>
                <div id="nav">
                    <RouterLink to="/">首页</RouterLink> |
                    <RouterLink to="/about">我的</RouterLink> |
                    <RouterLink to="/Products">商品</RouterLink>
                </div>
                <RouterView></RouterView>
            </>
        )
    }
}
